<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>浮动</title>
    <style>
        .item{
            float: right;
            width: 280px;
            height: 80px;
            border: 2px solid green;
        }
    </style>

</head>
<body>
<div style="background-color:powderblue">
    <div class="item">海阔天空</div>
    <div class="item">光荣岁月</div>
    <div class="item">不再犹豫</div>
    <div class="item">真的爱你</div>
<!--    <div style="clear:both"> </div>-->
</div>
</body>
</html>